/**
 * author:Administrator
 * date:2016/2/24
 * desc:TODO
 */

'use strict';

var RepoImpl = require('../../../infrastructure/persist').ShopRepoImpl;

class ShopRepo {

  static * find(id) {
    return yield RepoImpl.find(id);
  }

  static * store(shop) {
    yield RepoImpl.store(shop);
  }
}

module.exports = ShopRepo;
